import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /community/getStatistics/{id}
 */
export function getCommunityGetStatisticsById(params: GetCommunityGetStatisticsByIdParams, config?: AxiosRequestConfig) {
    return request.get<DeepRequired<any>>(`/community/getStatistics/${params.id}`, config);
}

export interface GetCommunityGetStatisticsByIdParams {
    id: number;
}
